package android.slc.icr.core.room.studio;


import android.slc.icr.core.entity.IcrChartRoom;
import android.slc.icr.core.room.manager.IDestroyRoomListener;
import android.slc.icr.core.service.IcrChartRoomMemberService;
import android.slc.icr.service.IcrMessageRemoteService;

public class StandardChartRoomStudio extends AbsChartRoomStudio {

    public StandardChartRoomStudio(IcrChartRoom icrChartRoom,
                                   IcrMessageRemoteService icrMessageRemoteService,
                                   IcrChartRoomMemberService icrChartRoomMemberService,
                                   IDestroyRoomListener destroyRoomListener) {
        super(icrChartRoom, icrMessageRemoteService, icrChartRoomMemberService, destroyRoomListener);
    }

    /**
     * 销毁
     */
    @Override
    public void destroy() {
        super.destroy();
        getIcrChartRoomMemberService().removeAll(getIcrChartRoomId());
    }

}
